# Copyright (c) 2018 Presto Labs Pte. Ltd.
# Author: jaewon

import datetime
from coin.exchange.bitmex.order_gateway import BitmexOrderGateway
from coin.strategy.mm.base.order_subsystem import BaseOrderSubsystem
from coin.strategy.mm.subscription import SubscriptionRequest


class BitmexOrderSubsystem(BaseOrderSubsystem):
  OrderSubReq = SubscriptionRequest('Futures', 'Bitmex', None)
  OrderGateway = BitmexOrderGateway
  _delay_notify_order_gateway_reset = datetime.timedelta(seconds=5)
